package com.test;

import java.util.Random;

/**
 * @author guqiuxia
 *	@time Mar 31, 2017-11:19:54 AM
 * @description
 */
public class Demo03 {
	public static void main(String[] args) {
//		Random r=new Random();
//		  for(int i=0;i<10;i++){ 
//			    System.out.println(r.nextInt(13)); 
//		  } 
		
		String str="sdfasdfs\r\n\tsadf     lasjdlf";
		
		System.out.println(str.replaceAll("\r", "").replaceAll("\n", "").replaceAll("\t", "").replaceAll("\\s+", ""));
	}
}
